package com.cms.service;

import com.cms.entity.Admin;

public class AdminServiceDriver {
    static void testIsConsulted(){
        System.out.println("TEST BEGIN: AdminService.isConsulted ");
        Admin admin=new AdminStub();
        AdminService appService=new AdminService(admin);
        if(AdminService.isConsulted(1)==true)
            System.out.println("TEST OK");
        else
            System.out.println("TEST NG");
        System.out.println("TEST END: AdminService.isConsulted ");
    }

    public static void main(String[] args){

        AdminServiceDriver.testIsConsulted();
    }

}
